package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.dto.TagProducer;
import com.ttg.model.pojo.BankCustomerSignInfo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BankCustomerSignInfoMapper extends BaseMapper<BankCustomerSignInfo> {

    List<BankCustomerSignInfo> existsMapByCtsIdAndSignServer(@Param("existsWhere")List<Map<String, String>> existsWhere);
    List<Long> getVipIdsByTags(@Param("tags") List<TagProducer> tags, @Param("key") String key);

    @Delete("truncate table tbl_bank_customer_sign_info")
    void truncate();
}
